package com.hydl.power.service;


import com.github.pagehelper.PageInfo;
import com.hydl.power.pojo.Log;
import com.hydl.power.utils.TableUtils;

import java.util.List;

public interface LogService {

    int deleteByPrimaryKey(String logId);

    int insert(Log record);

    int insertSelective(Log record);

    Log selectByPrimaryKey(String logId);

    int updateByPrimaryKeySelective(Log record);

    int updateByPrimaryKey(Log record);

    List<Log> selectAllByCondition(Integer pageSize, Integer pageNum, String startTime, String endTime);

    TableUtils selectAllByConditions(Integer pageSize, Integer pageNum, String startTime, String endTime);


    PageInfo<Log> getLogList(Integer pageNum, Integer pageSize, String startTime, String endTime);
}